ComponentOne FlexReport for WinForms
IndexByName Method (ReportObjectCollection<TItem>)

C1.Win.FlexReport.4 Assembly > C1.Win.FlexReport Namespace > ReportObjectCollection<TItem> Class : IndexByName Method
The name of element.
Gets the index of the element by its name.
Syntax
'Declaration
 
Public Function IndexByName( _
   ByVal name As System.String _
) As System.Integer
public System.int IndexByName( 
   System.string name
)

Parameters

name
The name of element.

Return Value

The zero-based index of element with specified name or -1 if name not specified.
See Also

Reference

ReportObjectCollection<TItem> Class
ReportObjectCollection<TItem> Members